package cn.hhchat.wp.repository;

import cn.hhchat.wp.entity.RoleEntity;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created this one by HMH on 2017/10/22.
 */
public interface RoleRepository extends JpaRepository<RoleEntity, Long> {

    RoleEntity findByName(String name);

}
